//
//  DockView.h
//  标签菜单
//
//  Created by Burn on 2019/7/24.
//  Copyright © 2019 menksoft. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol DockViewDelegate <NSObject>

- (void)dockMoveWithProgress:(CGFloat)pro fromeIndex:(NSInteger)oldIndex destinationIndex:(NSInteger)newIndex;
- (void)dockMoveEnd;

@end

@interface DockView : UIView
@property(weak,nonatomic) id<DockViewDelegate> delegate;
- (instancetype)initWithFrame:(CGRect)frame ChildControllers:(NSArray *)conterollers parentController:(UIViewController *)controller;
- (void)setCurrentInde:(NSInteger)index;
@end

NS_ASSUME_NONNULL_END
